package com.alks.function.data.request.biocontrol.deptwork;

import com.alks.entity.data.page.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SupTraceRequest extends PageParam {

    @ApiModelProperty(value = "订单号")
    private String slipNo;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "客户")
    private String custom;

    @ApiModelProperty(value = "补料部门")
    private String dutyDeptName;

    @ApiModelProperty(value = "补料类型")
    private String blFlag;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "补料日期始")
    private Date slipDateStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "补料日期末")
    private Date slipDateEnd;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "完成日期始")
    private Date finishDateStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "完成日期末")
    private Date finishDateEnd;

    @ApiModelProperty(value = "0.全部 1.未完成 2.已完成")
    private Integer type;

}
